package com.PlantVsZombies.game;

import javax.swing.JFrame;

public class OnlineFrame extends JFrame {

	private static final long serialVersionUID = 1L;

	private OnlinePanel panel;
	
	public OnlineFrame() {
		initComponents();
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		this.setResizable(false);
		this.setLocationRelativeTo(null);
		this.setVisible(true);
	}

	private void initComponents() {
		setLayout(null);
		panel = new OnlinePanel(this);
		add(panel);
		setSize(319, 200);
	}
	
	public static void main(String[] args) {
		new OnlineFrame();
	}

}